package vip.geeker.iotms.service;

import com.github.pagehelper.PageInfo;
import vip.geeker.iotms.help.Response;
import vip.geeker.iotms.persistance.model.DeviceInfo;
import vip.geeker.iotms.persistance.model.DeviceTypeData;

import java.util.List;

public interface IDeviceTypeDataService {
    Response<PageInfo<DeviceTypeData>> queryPage(DeviceTypeData typeData);

    Response addDeviceTypeData(DeviceTypeData typeData);

    Response deleteDeviceTypeData(DeviceTypeData typeData);

    Response updateDeviceTypeData(DeviceTypeData typeData);

    Response<DeviceTypeData> selectById(long id);

    List<DeviceTypeData> queryTypeDataList(Integer id);

    List<String> queryGroupData();

    Response<PageInfo<DeviceInfo>> selectDeviceByData(int PageNo, int PageSize, String dataName);


}
